export  const rules = {
    //编写规则\prettier\eslint-plugin-prettier
    phone: [
      { required: true, message: "密码不能为空", trigger: "blur" },
      {
        pattern: /0?(13|14|15|18)[0-9]{9}/,
        message: "手机号码格式不正确",
        trigger: "blur",
      },
    ],
    verify_code: [
      { required: true, message: "验证码不能为空", trigger: "blur" },
      {
        pattern: /^[a-z0-9]{5,10}$/,
        message: "验证码格式不正确",
        trigger: "blur",
      },
    ],
  };